package com.example.tech.folio.mapper;

import com.example.tech.folio.pojo.entity.Admin;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AdminMapper {
    int insert(Admin admin);
    int deleteById(Long id);
    int updateById(Admin admin);
    Admin selectById(Long id);
    List<Admin> selectAll();
    // 根据用户名查询管理员数据
    Admin selectByUsername(String username);
}